package util;

import java.text.SimpleDateFormat;
import java.util.Date;
/**
 * 
 * @author Date转String
 *
 */
public class Date2String {
	private static SimpleDateFormat sdf = null;
	
	public static String DateToString(Date date) {
		sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		return sdf.format(date);	
	}
	
}
